.captions {
    width: 100%;
    height: 100vh;
    z-index: 1000;
    position: absolute;
    overflow: hidden;

    .TheDigitalHuman{
        z-index: 1000;
    }


    .backgroundVideo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: fill;
        z-index: 0;
    }


    .buttons {
        position: absolute;
        z-index: 100000000;
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .uploadButton {
        padding: 10px 20px;
        background-color: rgba(80, 164, 255, 0.8);
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;

        &:hover {
            background-color: rgba(177, 255, 184, 0.9);
        }
    }

    .playButton {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 100000;
        padding: 10px 20px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;

        &:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }
    }

    .subtitles {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        color: white;
        text-align: center;

        p {
            margin: 10px 0;
            font-size: 18px;
            line-height: 1.5;
        }
    }


}

.subtitle_content {
    max-height: 70vh;
    overflow-y: auto;

    .subtitle_item {
        margin-top: 10px;
        border-bottom: 1px solid #cecece;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;

        >div:nth-child(1) {
            width: 85%;
            display: flex;
            justify-content: space-between;
            align-items: center;

            >div:nth-child(1) {
                width: 80%;
            }

            >div:nth-child(2) { 
                width: 15%;
            }
        }
    }
}